package com.server.common.logistics.dsf.track;

import com.google.gson.annotations.SerializedName;
import com.server.common.logistics.response.LogisticsResponse;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class DSFGetTrackResponse {
    @SerializedName("deliveryOrderNo")
    private String trackingNumber;
    @SerializedName("destinationCountry")
    private String destinationCountry;
    @SerializedName("trackingList")
    private List<Tracking> trackingList;

    @NoArgsConstructor
    @lombok.Data
    public static class Tracking {
        @SerializedName("businessLinkCode")
        private String businessLinkCode;
        @SerializedName("occurDatetime")
        private String occurDatetime;
        @SerializedName("occurLocation")
        private String occurLocation;
        @SerializedName("trackingContent")
        private String trackingContent;
    }
}
